﻿using System;

namespace TestByWire.Test.Fakes
{
    internal class RealCalculator : ICalculator
    {
        public int Add(int a, int b)
        {
            return a + b;
        }

        public string AddAsText(int a, int b)
        {
            return Add(a, b).ToString();
        }

        public CalculatorResult CompositeAdd(int a, int b)
        {
            return new CalculatorResult(a + b);
        }
    }

	internal class FakeCalculator : ICalculator
	{
		public int Add(int a, int b)
		{
			return a + b;
		}

		public string AddAsText(int a, int b)
		{
			return Add(a, b).ToString();
		}

		public CalculatorResult CompositeAdd(int a, int b)
		{
			return new CalculatorResult(a + b);
		}
	}
}
